//
//  AlarmListTableViewCell.h
//  StormWatch
//
//  Created by 王岩 on 2024/9/5.
//

#import <UIKit/UIKit.h>

#define WeekList @[SWString(@"Sun"), SWString(@"Sat"),SWString(@"Fri"),SWString(@"Thu"),SWString(@"Wed"),SWString(@"Tue"),SWString(@"Mon") ]

NS_ASSUME_NONNULL_BEGIN
@interface AlermModel : NSObject
@property (nonatomic, assign) unsigned long alermID;
@property (nonatomic, assign) unsigned long isOpen;
@property (nonatomic, assign) unsigned long alert_H, alert_M;
@property (nonatomic, strong) NSString * repeat;
- (instancetype)initWithString:(NSString *)string ;
@end
@interface AlarmListTableViewCell : UITableViewCell
/* <#note#> */
@property (nonatomic, strong) AlermModel * model;
@property (weak, nonatomic) IBOutlet UILabel *timeLab;
@property (weak, nonatomic) IBOutlet UILabel *dateLab;
@property (weak, nonatomic) IBOutlet UISwitch *switchbtn;

@property (copy, nonatomic) void(^changeBlock) (AlermModel * model);


@end

NS_ASSUME_NONNULL_END
